export type Meta = {
    title: string;
    needLogin: boolean;
    access: string[];
    scroll: { el: HTMLElement | string; top: number; left: number }[];
};

export default [
    {
        name: "主页",
        path: "/",
        component: () => import("@/pages/index/Index.vue"),
        meta: {
            title: "智慧农业可视化大屏",
            needLogin: false,
            access: [],
            scroll: [{ el: "", top: 0, left: 0 }],
        },
        children: [],
    },
    {
        name: "404",
        path: "/:patchMatch(.*)*",
        component: () => import("@/pages/not-found/NotFound.vue"),
        meta: {
            title: "404，网页找不到了！",
            needLogin: false,
            access: [],
            scroll: [{ el: "", top: 0, left: 0 }],
        },
        children: [],
    },
];
